package com.dongfanggroup.report.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 报障单对象 report_order
 * 
 * @author wangsr
 * @date 2021-12-16
 */
@Data
public class ReportOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 报障单号 */
    @Excel(name = "报障单号")
    private Long reportId;

    /** 报障人 */
    private Long reportUserId;

    @Excel(name = "报障人")
    private String reportUserName;

    /** 故障地点 */
    @Excel(name = "故障地点")
    private String reportLocation;

    /** 标题 */
    @Excel(name = "标题")
    private String reportTitle;

    /** 故障产品 */
    @Excel(name = "故障产品")
    private String reportProduct;

    /** 服务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportSubmitTime;

    /** 服务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTimeStart;

    /** 服务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTimeEnd;

    /** 故障大类类型 */
    @Excel(name = "故障大类类型")
    private Long reportTypeBig;

    /** 故障大类类型中文 */
    @Excel(name = "故障大类类型中文")
    private String reportTypeBigName;

    /** 故障小类类型 */
    @Excel(name = "故障小类类型")
    private Long reportTypeSmall;

    /** 故障小类类型 */
    @Excel(name = "故障小类类型")
    private String reportTypeSmallName;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String reportDesc;

    /** 上传附件 */
    @Excel(name = "上传附件")
    private String reportFiles;


    private List<String> uploadFiles;

    /** 评分 */
    @Excel(name = "评分")
    private Integer reportStar;

    /** 评价 */
    @Excel(name = "评价")
    private String reportStarInfo;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportStarTime;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** qq号 */
    @Excel(name = "qq号")
    private String qq;

    /** 报障单状态 */
    @Excel(name = "报障单状态")
    private String reportStatus;

    /** 报障单处理次数（打开次数） */
    @Excel(name = "报障单处理次数", readConverterExp = "打=开次数")
    private Integer reportDealCount;

    /** 报障单处理人 */
    private Long reportDealUserId;

    @Excel(name = "报障单处理人")
    private String reportDealUserName;

    /** 解决方案 */
    @Excel(name = "解决方案")
    private String reportSolution;

    /** 问题原因 */
    @Excel(name = "问题原因")
    private String reportReason;

    /** $column.columnComment */
    private Long userId;

    /** $column.columnComment */
    private Long deptId;


    private String reportBackInfo;



}
